package cc.test.cc.test.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @author chenchen
 * @date 2020/3/20 9:07
 */
@RestController
public class DemoController {
    private final static Logger logger = LoggerFactory.getLogger(DemoController.class);

    @ResponseBody
    @RequestMapping(value="/test1",produces="application/json;charset=UTF-8")
    public String test1() {
        System.out.println(1111);
        return "success";
    }
}
